// 角色权限
export const ROLE = {
  PERMISSION_INIT: {
    pc: { name: 'PC人资系统', business: 'PC端', nodetype: '目录', parent: '' },
    'pc:homepage': {
      name: '首页',
      business: 'PC端',
      nodetype: '菜单',
      parent: 'pc',
    },
    'pc:human': {
      name: '人事管理',
      business: 'PC端',
      nodetype: '目录',
      parent: 'pc',
    },
    'pc:human:manage': {
      name: '员工管理',
      business: 'PC端',
      nodetype: '菜单',
      parent: 'pc:human',
    },
    'pc:human:manage:add': {
      name: '添加',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:human:manage',
    },
    'pc:human:manage:multiadd': {
      name: '批量添加',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:human:manage',
    },
    'pc:human:manage:del': {
      name: '删除',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:human:manage',
    },
    'pc:human:manage:look': {
      name: '查看',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:human:manage',
    },
    'pc:human:manage:edit': {
      name: '编辑',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:human:manage',
    },
    'pc:human:entry': {
      name: '员工入职',
      business: 'PC端',
      nodetype: '菜单',
      parent: 'pc:human',
    },
    'pc:human:external': {
      name: '外部人员',
      business: 'PC端',
      nodetype: '菜单',
      parent: 'pc:human',
    },
    'pc:human:change': {
      name: '人事变动',
      business: 'PC端',
      nodetype: '菜单',
      parent: 'pc:human',
    },
    'pc:human:checkup': {
      name: '健康体检',
      business: 'PC端',
      nodetype: '菜单',
      parent: 'pc:human',
    },
    'pc:contract': {
      name: '劳动合同',
      business: 'PC端',
      nodetype: '目录',
      parent: 'pc',
    },
    'pc:contract:manage': {
      name: '合同管理',
      business: 'PC端',
      nodetype: '菜单',
      parent: 'pc:contract',
    },
    'pc:contract:manage:look': {
      name: '查看详情',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:contract:manage',
    },
    'pc:contract:manage:sign': {
      name: '合同签订',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:contract:manage',
    },
    'pc:contract:manage:renew': {
      name: '合同续约',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:contract:manage',
    },
    'pc:contract:manage:change': {
      name: '合同变更',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:contract:manage',
    },
    'pc:contract:manage:cancellation': {
      name: '合同解除',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:contract:manage',
    },
    'pc:contract:manage:termination': {
      name: '合同终止',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:contract:manage',
    },
    'pc:contract:manage:multiimport': {
      name: '批量导入',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:contract:manage',
    },
    'pc:contract:manage:multiexport': {
      name: '批量导出',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:contract:manage',
    },
    'pc:contract:manage:multidownFile': {
      name: '下载附件',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:contract:manage',
    },
    'pc:contract:dynamic': {
      name: '合同动态',
      business: 'PC端',
      nodetype: '菜单',
      parent: 'pc:contract',
    },
    'pc:contract:dynamic:look': {
      name: '查看',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:contract:dynamic',
    },
    'pc:contract:dynamic:multiexport': {
      name: '批量导出',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:contract:dynamic',
    },
    'pc:attendance': {
      name: '考勤管理',
      business: 'PC端',
      nodetype: '目录',
      parent: 'pc',
    },
    'pc:attendance:report': {
      name: '考勤台账',
      business: 'PC端',
      nodetype: '菜单',
      parent: 'pc:attendance',
    },
    'pc:attendance:report:sync': {
      name: '同步考勤',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:attendance:report',
    },
    'pc:attendance:report:multiexport': {
      name: '批量导出',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:attendance:report',
    },
    'pc:attendance:abnormal': {
      name: '异常审批',
      business: 'PC端',
      nodetype: '菜单',
      parent: 'pc:attendance',
    },
    'pc:attendance:report:multihandle': {
      name: '批量处理',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:attendance:report',
    },
    'pc:attendance:report:import': {
      name: '导出数据',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:attendance:report',
    },
    'pc:attendance:report:handle': {
      name: '处理',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:attendance:report',
    },
    'pc:attendance:calendar': {
      name: '考勤日历',
      business: 'PC端',
      nodetype: '菜单',
      parent: 'pc:attendance',
    },
    'pc:attendance:setting': {
      name: '考勤设置',
      business: 'PC端',
      nodetype: '菜单',
      parent: 'pc:attendance',
    },
    'pc:attendance:setting:baseset': {
      name: '基本信息设置',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:attendance:setting',
    },
    'pc:attendance:setting:statusset': {
      name: '状态图标设置',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:attendance:setting',
    },
    'pc:organize': {
      name: '组织机构',
      business: 'PC端',
      nodetype: '目录',
      parent: 'pc',
    },
    'pc:organize:nav': {
      name: '组织导航',
      business: 'PC端',
      nodetype: '菜单',
      parent: 'pc:organize',
    },
    'pc:organize:nav:click': {
      name: '导航跳转',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:organize:nav',
    },
    'pc:organize:internal': {
      name: '内部组织',
      business: 'PC端',
      nodetype: '菜单',
      parent: 'pc:organize',
    },
    'pc:organize:internal:sort': {
      name: '编辑排序',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:organize:internal',
    },
    'pc:organize:internal:add': {
      name: '新增',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:organize:internal',
    },
    'pc:organize:internal:multidel': {
      name: '批量删除',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:organize:internal',
    },
    'pc:organize:internal:edit': {
      name: '编辑',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:organize:internal',
    },
    'pc:organize:internal:del': {
      name: '删除',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:organize:internal',
    },
    'pc:organize:external': {
      name: '外部组织',
      business: 'PC端',
      nodetype: '菜单',
      parent: 'pc:organize',
    },
    'pc:organize:external:add': {
      name: '新增',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:organize:external',
    },
    'pc:organize:external:multidel': {
      name: '批量删除',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:organize:external',
    },
    'pc:organize:external:edit': {
      name: '编辑',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:organize:external',
    },
    'pc:organize:external:del': {
      name: '删除',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:organize:external',
    },
    'pc:statistics': {
      name: '统计分析',
      business: 'PC端',
      nodetype: '菜单',
      parent: 'pc',
    },
    'pc:system': {
      name: '系统管理',
      business: 'PC端',
      nodetype: '目录',
      parent: 'pc',
    },
    'pc:system:businessset': {
      name: '业务配置',
      business: 'PC端',
      nodetype: '菜单',
      parent: 'pc:system',
    },
    'pc:system:businessset:look': {
      name: '查看详情',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:system:businessset',
    },
    'pc:system:role': {
      name: '角色管理',
      business: 'PC端',
      nodetype: '菜单',
      parent: 'pc:system',
    },
    'pc:system:role:add': {
      name: '添加',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:system:role',
    },
    'pc:system:role:look': {
      name: '查看',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:system:role',
    },
    'pc:system:role:edit': {
      name: '编辑',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:system:role',
    },
    'pc:system:role:del': {
      name: '删除',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:system:role',
    },
    'pc:system:role:personmanage': {
      name: '成员管理',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:system:role',
    },
    'pc:system:role:personmanage:add': {
      name: '添加成员',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:system:role:personmanage',
    },
    'pc:system:role:personmanage:del': {
      name: '删除成员',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:system:role:personmanage',
    },
    'pc:system:menu': {
      name: '菜单管理',
      business: 'PC端',
      nodetype: '菜单',
      parent: 'pc:system',
    },
    'pc:system:menu:add': {
      name: '添加',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:system:menu',
    },
    'pc:system:menu:edit': {
      name: '编辑',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:system:menu',
    },
    'pc:system:menu:del': {
      name: '删除',
      business: 'PC端',
      nodetype: '按钮',
      parent: 'pc:system:menu',
    },

    app: { name: 'APP人资系统', business: 'APP端', nodetype: '', parent: '' },
    'app:homepage': {
      name: '首页',
      business: 'APP端',
      nodetype: '',
      parent: 'app',
    },
  },
};
